﻿@model BlackBird.Models.AttachedFileList

@{
    int index = 1;
}


<div class="sectionheader">附件</div>
<div id = "bijiadan_attachfiles">
    <table>
        <colgroup>
               <col class="cv_xuhao"/>
               <col class="cv_filename"/>
               <col class="cv_uploaddata" />
               <col class="li_uploadname"/>
         </colgroup>
        <thead>
            <tr>
                <td>序号</td>
                <td>文件名</td>
                <td>上传日期</td>
                <td>上传者</td>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model.AttachedFiles)
            {
                <tr class = "contact_item" data-id = "@item.OwnerId">
                    <td>@(index++)</td>
                    <td><a href ="@item.DownloadUrl" target ="_blank" >@item.FileName</a></td>
                    <td>@item.UploadDate</td>
                    <td>@item.UploadUserName</td>
                </tr>
            }
        </tbody>
    </table>
</div>